#!/bin/bash
user=$1

(cat <<EOF
<Context path="/weibo${user}"  docBase="/home/${user}/weibo.war" privileged="false" reloadable="true">
</Context>
EOF
) > weibo${user}.xml

